$(function(){

})

function myAlert(title, content) {
    var dia=$.dialog({
        title:title,
        content:content,
        button:["确认"]
    });

    dia.on("dialog:action",function(e){
        console.log(e.index)
    });
    dia.on("dialog:hide",function(e){
        console.log("dialog hide")
    });
}


